﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProdeManagmente.Model
{
    public class Result
    {
        private Match match;
        private int VTeam1;
        private int VTeam2;
        private int PTeam1;
        private int PTeam2;
        private bool finalResult;

        public Result(Match match, int VTeam1, int VTeam2, int PTeam1, int PTeam2, bool finalResult)
        {
            this.match = match;
            this.VTeam1 = VTeam1;
            this.VTeam2 = VTeam2;
            this.PTeam1 = PTeam1;
            this.PTeam2 = PTeam2;
            this.finalResult = finalResult;
        }

        public Match getMatch()
        {
            return this.match;
        }

        public int getVTeam1()
        {
            return this.VTeam1;
        }

        public int getVTeam2()
        {
            return this.VTeam2;
        }

        public int getPTeam1()
        {
            return this.PTeam1;
        }

        public int getPTeam2()
        {
            return this.PTeam2;
        }

        public bool getFinalResult()
        {
            return this.finalResult;
        }

        public void setMatch(Match match)
        {
            this.match = match;
        }

        public void setVTeam1(int VTeam1)
        {
            this.VTeam1 = VTeam1;
        }

        public void setVTeam2(int VTeam2)
        {
            this.VTeam2 = VTeam2;
        }

        public void setPTeam1(int PTeam1)
        {
            this.PTeam1 = PTeam1;
        }

        public void setPTeam2(int PTeam2)
        {
            this.PTeam2 = PTeam2;
        }

        public void setFinalResult(bool finalResult)
        {
            this.finalResult = finalResult;
        }
    }
}
